From f3ed7a7d0a8378fc7dfc6d1ec621d37257266ee7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Tue, 6 Jun 2006 19:03:26 +0000 Subject: [PATCH] do not rely on a tempfile tool --- ChangeLog | 4 ++++ docs/Makefile.am | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index dafe5b3..09aa391 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-06-06 Øyvind Kolås + + * docs/Makefile.am: Do not rely that a command calle tempfile exists. + 2006-06-05 Øyvind Kolås * extensions/gegl-fixups.c: A babl extension to make the testing of diff --git a/docs/Makefile.am b/docs/Makefile.am index 38e6f19..becd722 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -48,7 +48,7 @@ index.html: index-static.html \ Makefile.am echo -n "HTML: $@" cp $< $@ - (TMPFILE=`tempfile`;\ + (which tempfile && TMPFILE=`tempfile` || TMPFILE="/tmp/babl_build_tempfile" ;\ export BABL_PATH="$(top_builddir)/extensions"; $(top_builddir)/tests/babl_html_dump > $$TMPFILE;\ $(top_srcdir)/docs/tools/xml_insert.sh $@ BablBase $$TMPFILE;\ rm -f $$TMPFILE ) -- 2.30.2